Imports System.ComponentModel
Imports Aricie.DNN.UI.Attributes
Imports DotNetNuke.UI.WebControls
Imports System.Xml.Serialization
Imports Aricie.DNN.Services.Filtering
Imports Aricie.DNN.Configuration

Namespace Aricie.DNN.Services.Url.FriendlyUrl.Config


    Public Class FriendlierConfigUpdate
        Implements IUpdateProvider



        Public Function GetConfigElements() As System.Collections.Generic.List(Of Configuration.IConfigElementInfo) Implements Configuration.IUpdateProvider.GetConfigElements
            Dim toReturn As New List(Of IConfigElementInfo)
            Dim toAdd As New HttpModuleInfo("Aricie.FriendlierUrlRewrite", GetType(FriendlierUrlRewrite), "")
            
            toAdd.InsertBeforeKey = "UrlRewrite"
            toReturn.Add(toAdd)
            toReturn.Add(New ProviderInfo("friendlyUrl", "Aricie.FriendlierUrlProvider", GetType(FriendlierUrlProvider), "DNNFriendlyUrl"))

            Return toReturn
        End Function


    End Class
End Namespace
